package com.appkubes.mall.core.service;

import com.appkubes.base.core.mbp.AbstractBaseService;
import com.appkubes.mall.core.dao.BaseFintechRiskRuleDao;
import com.appkubes.mall.core.entity.FintechRiskRule;

import com.appkubes.base.core.entity.vo.PageVO;
import com.baomidou.mybatisplus.core.metadata.IPage;

import java.util.List;

/**
 * @author Rongjie
 * @description
 */

public interface BaseFintechRiskRuleService extends AbstractBaseService<BaseFintechRiskRuleDao, FintechRiskRule> {

    FintechRiskRule getOneByEntity(FintechRiskRule entity);

    List<FintechRiskRule> selectListByEntity(FintechRiskRule entity);

    IPage<FintechRiskRule> selectPageByEntity(IPage<FintechRiskRule> page);
    IPage<FintechRiskRule> selectPageByEntity(PageVO pageVO);

    IPage<FintechRiskRule> selectPageByEntity(FintechRiskRule entity, IPage<FintechRiskRule> page);
    IPage<FintechRiskRule> selectPageByEntity(FintechRiskRule entity, PageVO pageVO);

    IPage<FintechRiskRule> selectPageByEntity(FintechRiskRule entity, Integer pageNo, Integer pageSize);

    Boolean removeByEntity(FintechRiskRule entity);
}
